package com.shangqing.system.droughtinformation.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


@ApiModel(value = "干旱灾情信息", description = "")
public class Droughtinformation {
    /**
     * 干旱灾情信息ID
     */
    @ApiModelProperty(value = "ID")
    private int id;
    /**
     * 干旱灾情信发生位置
     */
    @ApiModelProperty(value = "干旱灾情信发生位置")
    private int locationid;
    /**
     * 干旱灾情发生时间
     */
    @ApiModelProperty(value = "干旱灾情发生时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeofoccurrence;
    /**
     * 干旱灾情发生经度
     */
    @ApiModelProperty(value = "干旱灾情发生经度")
    private Double longitude;
    /**
     * 干旱灾情发生纬度
     */
    @ApiModelProperty(value = "干旱灾情发生纬度 ")
    private Double latitude;
    /**
     * 干旱灾情威胁范围
     */
    @ApiModelProperty(value = "干旱灾情威胁范围")
    private String threatrange;
    /**
     * 干旱灾情等级
     */
    @ApiModelProperty(value = "干旱灾情等级")
    private int disastergradeid;
    /**
     * 干旱灾情设备损坏情况
     */
    @ApiModelProperty(value = "干旱灾情设备损坏情况")
    private String equipmentdamage;
    /**
     * 干旱灾情威胁人口
     */
    @ApiModelProperty(value = "干旱灾情威胁人口")
    private String threatspopulation;
    /**
     * 干旱灾情威胁财产
     */
    @ApiModelProperty(value = "干旱灾情威胁财产")
    private String threatproperty;
    /**
     * 干旱灾情预警id
     */
    @ApiModelProperty(value = "干旱灾情预警等级id")
    private int warninglevelid;
    /**
     * 干旱灾情等级
     */
    @ApiModelProperty(value = "干旱灾情等级")
    private DroughtGrade droughtGrade;
    /**
     * 干旱灾情预警等级
     */
    @ApiModelProperty(value = "干旱灾情预警等级")
    private DroughtWarning droughtWarning;
    /**
     * 干旱灾情预警地点
     */
    @ApiModelProperty(value = "干旱灾情预警地点")
    private City city;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLocationid() {
        return locationid;
    }

    public void setLocationid(int locationid) {
        this.locationid = locationid;
    }

    public Date getTimeofoccurrence() {
        return timeofoccurrence;
    }

    public void setTimeofoccurrence(Date timeofoccurrence) {
        this.timeofoccurrence = timeofoccurrence;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getThreatrange() {
        return threatrange;
    }

    public void setThreatrange(String threatrange) {
        this.threatrange = threatrange;
    }

    public int getDisastergradeid() {
        return disastergradeid;
    }

    public void setDisastergradeid(int disastergradeid) {
        this.disastergradeid = disastergradeid;
    }

    public String getEquipmentdamage() {
        return equipmentdamage;
    }

    public void setEquipmentdamage(String equipmentdamage) {
        this.equipmentdamage = equipmentdamage;
    }

    public String getThreatspopulation() {
        return threatspopulation;
    }

    public void setThreatspopulation(String threatspopulation) {
        this.threatspopulation = threatspopulation;
    }

    public String getThreatproperty() {
        return threatproperty;
    }

    public void setThreatproperty(String threatproperty) {
        this.threatproperty = threatproperty;
    }

    public int getWarninglevelid() {
        return warninglevelid;
    }

    public void setWarninglevelid(int warninglevelid) {
        this.warninglevelid = warninglevelid;
    }

    public DroughtGrade getDroughtGrade() {
        return droughtGrade;
    }

    public void setDroughtGrade(DroughtGrade droughtGrade) {
        this.droughtGrade = droughtGrade;
    }

    public DroughtWarning getDroughtWarning() {
        return droughtWarning;
    }

    public void setDroughtWarning(DroughtWarning droughtWarning) {
        this.droughtWarning = droughtWarning;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }
}
